//引入封装的reuest请求
const {
  request
} = require("./request.js");
//基于业务封装的接口
module.exports = {
  // 房屋出租报备提交接口
  AddHous(data) {
    return request({
      url: "/system/form/addRentalHousingRegistrationForm",
      method: "POST",
	  data,
	  needToken :true,
    });
  },
  
  // 出租房屋查询接口
  getHous(data) {
    return request({
      url: "/system/form/getAppRentalHousingRegistrationForm",
      method: "POST",
  	  data,
  	  needToken :true,
    });
  },
  
  
  // 出租房屋修改接口
  xgHous(data) {
    return request({
      url: "/system/form/updateRentalHousingRegistrationForm",
      method: "POST",
  	  data,
  	  needToken :true,
    });
  },
  
  // 旅店业---新增旅店业
  AddhotelInfo(data) {
    return request({
      url: "/system/base/addHotelinformationformBase",
      method: "POST",
  	  data,
  	  needToken :true,
    });
  },
  
  // 旅店业---查询旅店业基本信息
  GetHotelInfo(data) {
    return request({
      url: "/system/base/getHotelinformationformBase",
      method: "POST",
  	  data,
  	  needToken :true,
    });
  },
  
  // 旅店业---修改旅店业
  xghotelInfo(data) {
    return request({
      url: "/system/base/updateHotelinformationformBase",
      method: "POST",
  	  data,
  	  needToken :true,
    });
  },
  
  // 旅店业---查询从业人员信息
  GetHotelCyInfo(data) {
    return request({
      url: "/system/basepeople/getHotelinformationformBasepeople",
      method: "POST",
  	  data,
  	  needToken :true,
    });
  },
  
  // 旅店业---获取其他项目及娱乐设施简况
  GetHotelQtInfo(data) {
    return request({
      url: "/system/other/getYHotelinformationformOther",
      method: "POST",
  	  data,
  	  needToken :true,
    });
  },
  
  // 旅店业---新增来访人员登记
  GetHotelLf(data) {
    return request({
      url: "/system/visitor/addHotelinformationformVisitor",
      method: "POST",
  	  data,
  	  needToken :true,
    });
  },
  
  // 旅店业---新增未携带身份证登记入住表
  GetHotelNoCard(data) {
    return request({
      url: "/system/noidcard/addHotelinformationformNoidcard",
      method: "POST",
  	  data,
  	  needToken :true,
    });
  },
  
  // 执法监督投诉接口
  AddReporting(data) {
    return request({
      url: "/system/reporting/addReporting",
      method: "POST",
  	  data,
  	  needToken :true,
    });
  },
  
  getReporting(data) {
    return request({
      url: "/system/reporting/getReporting",
      method: "POST",
  	  data,
  	  needToken :true,
    });
  },
  
  // 新增娱乐场所
  Addylcs(data) {
    return request({
      url: "/system/entertainmentvenues/addEntertainmentvenues",
      method: "POST",
  	  data,
  	  needToken :true,
    });
  },
  
  // 修改娱乐场所
  xgylcs(data) {
    return request({
      url: "/system/entertainmentvenues/updateAppEntertainmentvenues",
      method: "POST",
  	  data,
  	  needToken :true,
    });
  },
  
  // 未成年人新增
  AddHotelinformationformMinor(data) {
    return request({
      url: "/system/minor/addHotelinformationformMinor",
      method: "POST",
  	  data,
  	  needToken :true,
    });
  },
};